package com.tencent.wxcloudrun.mbatisplus.entity;


import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;

/**
 * 文章表(Article)表实体类
 *
 * @author makejava
 * @since 2022-03-12 17:54:46
 */
@SuppressWarnings("serial")
@Data
public class Article extends Model<Article> {
    
    private Integer id;
    //文章名称
    private String articleName;
    //文章内容
    private String article;
    //作者id
    private String userId;
    //更新时间
    private Date updateTime;
    //创建时间
    private Date createTime;
    //0 审核通过
    private Integer status;

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.id;
    }
    }

